package com.bt.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description TODO
 * @Author itheima
 * @Date 2023-05-03 12:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysConfigDTO {
    @ApiModelProperty("配置字段英文键名")
    private String attr_key;
    @ApiModelProperty("配置字段中文名称")
    private String attr_name;
    @ApiModelProperty("字段数据")
    private String attr_value;
    @ApiModelProperty("是否可删除，0否，1是")
    private Integer can_delete;
    @ApiModelProperty("下拉，单选，多选")
    private String config_value; //选项数据，以 键1=值1&键2=值2的形式提交
    @ApiModelProperty("分组名称")
    private String group_value;
    @ApiModelProperty("提示文字")
    private String placeholder;
    @ApiModelProperty("排序数字")
    private Integer sort_num;
    @ApiModelProperty("大的Tab标签归属")
    private String tab_value;
    @ApiModelProperty("类型")
    private Integer type;
    @ApiModelProperty("验证规则")
    private String validator;  //字段校验的JSON字符串，负责element的表单校验规则
}
